package com.flute.framework.search;

public class ProviderInfo {
	private String location;
	private String indexLocation;
	/**
	 * 索引类型 [file,ftp,smb]，通常为协议名
	 */
	private String type;
	/**
	 * ip地址或域名
	 */
	private String server;
	/**
	 * 端口号，用于传输协议。
	 */
	private int port;
	/**
	 * 用户名，用于ftp,smb等协议
	 */
	private String username;
	/**
	 * 密码，用于ftp,smb等协议
	 */
	private String password;
	/**filetype
	 * 工作空间
	 */
	private String workspace;
	/**
	 * 字符编码
	 */
	private String charset;
	/**
	 * 文件类型[binary,ascii]
	 */
	private String filetype;

	private boolean ramDirectory;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getServer() {
		return server;
	}

	public void setServer(String server) {
		this.server = server;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getWorkspace() {
		return workspace;
	}

	public void setWorkspace(String workspace) {
		this.workspace = workspace;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getFiletype() {
		return filetype;
	}

	public void setFiletype(String filetype) {
		this.filetype = filetype;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public boolean isRamDirectory() {
		return ramDirectory;
	}

	public void setRamDirectory(boolean ramDirectory) {
		this.ramDirectory = ramDirectory;
	}

	public String getIndexLocation() {
		return indexLocation;
	}

	public void setIndexLocation(String indexLocation) {
		this.indexLocation = indexLocation;
	}
}
